<?php
class AreaModel extends Model{
	protected	$dbName	=	'shininghub_b';
	protected	$tablePrefix	=	'v1_';
	protected	$tableName	=	'area';//不带前缀

    function getContinent($areaPid = 0,$weight='areaWeight'){
		$Continent = $this->where("areaStatus = '1' AND areaPid = '".$areaPid."'")->order($weight)->findAll();
		return $Continent;
	}
}

